home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 January / ChipCD_1.03.iso / oddech / bsen / BSinstall.exe / BecheruvSen.exe / scripts / DefineButton2_2232 / BUTTONCONDACTION on(release).as next >
Text File  |  2002-11-01  |  428b  |  23 lines

  1. on(release){
  2.    if(_root.poz == "d")
  3.    {
  4.       if(_root.ii11 == 2)
  5.       {
  6.          _root.itembar_add(25);
  7.          _root.ii25 = 1;
  8.          _root.lih._visible = false;
  9.          _root.d_hostinsky.i = "lih_ano";
  10.       }
  11.       else
  12.       {
  13.          _root.d_hostinsky.i = "lih_ne";
  14.       }
  15.    }
  16.    else
  17.    {
  18.       _root.pepa.gotoAndPlay(_root.poz add "d");
  19.    }
  20.    _root.stopdragall();
  21.    _root.hideall();
  22. }
  23.